@using viBook.Models
@model IEnumerable<Book>
@{
    ViewBag.Title = "Index";
}
<link href="../../Content/BookTemplate.css" rel="stylesheet" type="text/css" />
<h1>Bookshelf</h1>
<div class="container">
    <p>
        @Html.ActionLink("Create New", "Create")
    </p>
   

    <div id="list-book" data-bind="template: {name:viewmodel.bookTemplate(), foreach: bookCollection}">
    </div>
</div>
@Html.Partial("_ListBookTemplate")
@Html.Partial("IndexJS")